package ooday02;

public class Animal {
    String color;
    String name;
    int age;
    void eat(){
     System.out.println(name+"再吃点饭");
    }
    void drink(){
        System.out.println(name+"在喝水");
    }
    Animal(String name,String color,int age){
        this.age=age;
        this.color=color;
        this.name=name;
    }
}
